package com.edu.bean;

/**
 * @Author:何包蛋
 * @Date :2022/10/2 - 10 - 02 - 22:49
 */
public class Emp {

    private int empId;

    private String empName;

    private String empDepart;

    private int empAge;

    private  String empSex;

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpDepart() {
        return empDepart;
    }

    public void setEmpDepart(String empDepart) {
        this.empDepart = empDepart;
    }

    public int getEmpAge() {
        return empAge;
    }

    public void setEmpAge(int empAge) {
        this.empAge = empAge;
    }

    public String getEmpSex() {
        return empSex;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public Emp(String empName, String empDepart, int empAge, String empSex) {
        this.empName = empName;
        this.empDepart = empDepart;
        this.empAge = empAge;
        this.empSex = empSex;
    }

    public Emp(int empId, String empName, String empDepart, int empAge, String empSex) {
        this.empId = empId;
        this.empName = empName;
        this.empDepart = empDepart;
        this.empAge = empAge;
        this.empSex = empSex;
    }

    public Emp() {
        super();
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empDepart='" + empDepart + '\'' +
                ", empAge='" + empAge + '\'' +
                ", empSex='" + empSex + '\'' +
                '}';
    }
}
